//
//  DmUndo.h
//  FoxitApp
//
//  Created by sijia_liu on 15/5/31.
//
//
//#import "FXInc.h"
#define HISTORY_COUNT 512

@protocol IDmUndoItem;
@interface DmUndo : NSObject

@property (nonatomic, retain) NSMutableArray *undoItems;
@property (nonatomic, retain) NSMutableArray *redoItems;

-(void)addUndoItem:(id<IDmUndoItem>)undoItem;
-(BOOL)canUndo;
-(BOOL)canRedo;
-(void)undo;
-(void)redo;
-(void)clearUndoRedo;

@end
